package com.cipe.cmrs.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * @author Incepio
 * 
 */
@Entity
@Table(name = "projectstatustransitionsallowed")
@SuppressWarnings("serial")
public class Projectstatustransitionsallowed extends BaseAuditEntity {

	/**
	 * Attribute projectstatus
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "startingfromstatus")
	private Cipeprojectstatus startingfromstatus;

	/**
	 * Attribute projectstatus
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "goingtostatus")
	private Cipeprojectstatus goingtostatus;

	public Cipeprojectstatus getStartingfromstatus() {
		return startingfromstatus;
	}

	public void setStartingfromstatus(Cipeprojectstatus startingfromstatus) {
		this.startingfromstatus = startingfromstatus;
	}

	public Cipeprojectstatus getGoingtostatus() {
		return goingtostatus;
	}

	public void setGoingtostatus(Cipeprojectstatus goingtostatus) {
		this.goingtostatus = goingtostatus;
	}

}